package com.bawei.fuxi.ui.friends;

import com.bawei.fuxi.base.mvp.BaseModel;
import com.bawei.fuxi.entity.ResultEntity;
import com.bawei.fuxi.entity.VideoEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;

public class FriendsModel extends BaseModel implements FriendsContract.IFriendsModel {
    @Override
    public Observable<VideoEntity> video(int currentPage, int pageSize) {
        return mApiServer.video(currentPage,pageSize);
    }

    @Override
    public Observable<ResultEntity> dianzan(int videoId) {
        return mApiServer.dianzan(videoId);
    }

    @Override
    public Observable<ResultEntity> guanzhu(RequestBody requestBody) {
        return mApiServer.guanzhu(requestBody);
    }
}
